// import request from '@/utils/http'
import requests from '@/utils/https'

export const getOrderAPI = (orderId) => {
  return requests({
    url: `/member/order/${orderId}`
  })
}

export const getUserInfo = () => {
  return requests({
    url: '/user/info',
    method: 'get',
    
  })
}

export const payByBalanceAPI = (orderId) => {
  return requests({
    url: `/member/order/pay/${orderId}`,
    method: 'get',
    
  })
}